//---------------------------------------------------------------------------

#ifndef MainFormH
#define MainFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BaseCustomForm.h"
#include "cxLocalization.hpp"
#include "cxControls.hpp"
#include "cxGraphics.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxBar.hpp"
#include "dxRibbon.hpp"
#include "dxRibbonSkins.hpp"
#include "dxRibbonStatusBar.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinBlueprint.hpp"
#include "dxSkinCaramel.hpp"
#include "dxSkinCoffee.hpp"
#include "dxSkinDarkRoom.hpp"
#include "dxSkinDarkSide.hpp"
#include "dxSkinDevExpressDarkStyle.hpp"
#include "dxSkinDevExpressStyle.hpp"
#include "dxSkinFoggy.hpp"
#include "dxSkinGlassOceans.hpp"
#include "dxSkinHighContrast.hpp"
#include "dxSkiniMaginary.hpp"
#include "dxSkinLilian.hpp"
#include "dxSkinLiquidSky.hpp"
#include "dxSkinLondonLiquidSky.hpp"
#include "dxSkinMcSkin.hpp"
#include "dxSkinMoneyTwins.hpp"
#include "dxSkinOffice2007Black.hpp"
#include "dxSkinOffice2007Blue.hpp"
#include "dxSkinOffice2007Green.hpp"
#include "dxSkinOffice2007Pink.hpp"
#include "dxSkinOffice2007Silver.hpp"
#include "dxSkinOffice2010Black.hpp"
#include "dxSkinOffice2010Blue.hpp"
#include "dxSkinOffice2010Silver.hpp"
#include "dxSkinPumpkin.hpp"
#include "dxSkinsCore.hpp"
#include "dxSkinsDefaultPainters.hpp"
#include "dxSkinsdxBarPainter.hpp"
#include "dxSkinSeven.hpp"
#include "dxSkinSevenClassic.hpp"
#include "dxSkinSharp.hpp"
#include "dxSkinSharpPlus.hpp"
#include "dxSkinSilver.hpp"
#include "dxSkinSpringTime.hpp"
#include "dxSkinStardust.hpp"
#include "dxSkinSummer2008.hpp"
#include "dxSkinTheAsphaltWorld.hpp"
#include "dxSkinValentine.hpp"
#include "dxSkinVS2010.hpp"
#include "dxSkinWhiteprint.hpp"
#include "dxSkinXmas2008Blue.hpp"
#include "dxStatusBar.hpp"

#include "LoginForm.h"
#include "ServerInfo.h"
#include "UserInfo.h"
#include "GlobalVariable.h"
#include "dxSkinsForm.hpp"
#include "cxPC.hpp"
#include "cxPCdxBarPopupMenu.hpp"
#include "dxSkinscxPCPainter.hpp"
#include "dxTabbedMDI.hpp"
#include <ImgList.hpp>
#include "dxSkinsdxRibbonPainter.hpp"
#include "cxBarEditItem.hpp"
#include "cxClasses.hpp"
#include "cxProgressBar.hpp"
#include "dxBarExtItems.hpp"

//---------------------------------------------------------------------------
class TUMainForm : public TUBaseCustomForm
{
__published:	// IDE-managed Components
	TdxRibbon *dxRibbon;
	TdxRibbonStatusBar *dxRibbonStatusBar;
	TdxBarManager *dxBarManager;
	TdxSkinController *dxSkinController;
	TdxTabbedMDIManager *dxTabbedMDIManager;
	TdxBar *StatusManagerBar;
	TcxBarEditItem *cxBarEditItem;
	TdxBarProgressItem *dxBarProgressItem1;
	void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall FormShow(TObject *Sender);
	void __fastcall CreateParams(TCreateParams & Params);
	void __fastcall Logout();
private:	// User declarations
	void __fastcall CreateMenu();
	void __fastcall CreateSubMenu(TdxBar *tab, _di_IXMLDOMNode root);
	void __fastcall MenuClick(TObject *Sender);
	void __fastcall CloseAllForm();
	void __fastcall ResetStatus();
public:		// User declarations
	__fastcall TUMainForm(TComponent* Owner);

	String Version;
};
//---------------------------------------------------------------------------
extern PACKAGE TUMainForm *UMainForm;
//---------------------------------------------------------------------------
#endif
